package com.mycity.bean;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

public class Tag {
	
	private int tagId;
	
	private String tagName;


    public int getTagId() {
		return tagId;
	}

	public void setTagId(int tagId) {
		this.tagId = tagId;
	}

	public String getTagName() {
		return tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	@JsonCreator
	public Tag(@JsonProperty("tagId") int tagId,
			@JsonProperty("tagName") String tagName){
		this.tagId = tagId;
		this.tagName = tagName;

	}
    
	/**
     * Empty Constructor. Needed for JAXB.
     */
	public Tag(){
		
	}
}
